package com.example.recipesapp.data

import androidx.room.Entity
import androidx.room.PrimaryKey

// 主菜实体
@Entity(tableName = "Recipes")
data class Recipe(
    @PrimaryKey(autoGenerate = true) val id: Long = 0,
    val name: String,   // 菜名
    val photoPath: String,   // 效果图路径
    val ingredients: String // JSON格式的食材
)
